<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>合同参数查看</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="../css/font.css">
    <link rel="stylesheet" href="../css/xadmin.css">
    <script type="text/javascript" src="../lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="../js/xadmin.js"></script>
    <script type="text/javascript" src="../js/commonutil.js"></script>
    <script src="./function.js" charset="utf-8"></script>
    <script type="text/javascript" src="../js/jquery.min.js" charset="utf-8"></script>
</head>
<body>
    <div class="edit-form-class">
        <form class="layui-form" id="paramForm" style="padding-top: 20px">
            <div class="layui-form-item">
                <label class="layui-form-label">渠道名称</label>
                <div class="layui-input-block">
                    <input type="text" id="channelName" name="channelName" lay-verify="title" readonly="readonly" style="width: 350px" autocomplete="off" placeholder="" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">模板编号</label>
                <div class="layui-input-block">
                    <input type="text" id="templateNo" name="templateNo" lay-verify="title" readonly="readonly" style="width: 350px" autocomplete="off" placeholder="" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">是否签章</label>
                <div class="layui-input-block">
                    <input type="text" id="isSeal" name="isSeal" lay-verify="title" readonly="readonly" style="width: 350px" autocomplete="off" placeholder="" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">回调地址</label>
                <div class="layui-input-block">
                    <textarea placeholder="" id="callbackUrl" name="callbackUrl" readonly="readonly" style="width: 350px" class="layui-textarea"></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">请求时间</label>
                <div class="layui-input-block">
                    <input type="text" name="createTime" id="createTime" lay-verify="title" readonly="readonly" style="width: 350px" autocomplete="off" placeholder="" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">结束时间</label>
                <div class="layui-input-block">
                    <input type="text" name="updateTime" id="updateTime" lay-verify="title" readonly="readonly" style="width: 350px" autocomplete="off" placeholder="" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">耗时(秒)</label>
                <div class="layui-input-block">
                    <input type="text" name="differenceTime" id="differenceTime" readonly="readonly" lay-verify="title" style="width: 350px" autocomplete="off" placeholder="" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">请求数据</label>
                <div class="layui-input-block">
                    <textarea placeholder="" id="requestData" name="requestData" readonly="readonly" style="width: 350px" class="layui-textarea"></textarea>
                </div>
            </div>
        </form>
    </div>
</body>
<script>
    let id = GetUrlParam("id");
    let signStatus = GetUrlParam("signStatus");
    let createTime = GetUrlParam("createTime");
    createTime = toDateString(createTime);
    let url = serverPre + "/manager/scs/v2/requestLog/one?id="+id+"&&date="+createTime;
    let result = requestGet(url);
    buildOpenWin(result);
</script>
</html>
